package com.zxl.feign;

import com.zxl.vo.Goods;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "goods",path = "/goods")
public interface GoodsFeign {

    @RequestMapping("/findById")
    Goods findById(@RequestParam("id") Integer id);
}
